<%@ page language="java" import="java.util.*" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%
pageContext.setAttribute("APP_PATH", request.getContextPath());
%>
<html>
	<head>
		<meta charset="UTF-8">
		<!-- <link rel="stylesheet" href="font-awesome-4.7.0/css/font-awesome.min.css"> -->
		<link rel="stylesheet" type="text/css" href="${APP_PATH }/css/houtai_left.css" />
		<!-- <script type="text/javascript" class="autoinsert" src="js/jquery-2.2.0.min.js"></script> -->
		<script type="text/javascript" src="${APP_PATH }/js/houtai_left.js"></script>
		<title></title>
	</head>
	<body>

        <input type="hidden" id="now_left" value="${left}" />
		
		<div class="left_y" id="left_y_userinfo">
			<a href="${pageContext.request.contextPath}/houtai/userinfo" class="left_a_first" id="left_userinfo">
				<span><i class="fa fa-user" style="padding-right: 13px;margin-left: 3px;"></i> 用户列表</span>
			</a>
			<a href="#" class="left_a" id="left_updateuserinfo" onclick="userinfo_update()">
				<span><i class="fa fa-pencil-square-o" style="padding-right: 10px;"></i> 编辑用户</span>
			</a>
		</div>
		
		<div class="left_y" id="left_y_vipinfo">
			<a href="${pageContext.request.contextPath}/houtai/vipinfo" class="left_a_first" id="left_vipinfo">
				<span><i class="fa fa-bullhorn" style="padding-right: 10px;"></i> 会员列表</span>
			</a>
			<a href="${pageContext.request.contextPath}/houtai/to_addvipinfo" class="left_a" id="left_addvipinfo">
				<span><i class="fa fa-tag" style="padding-right: 12px;"></i> 添加会员</span>
			</a>
			<a href="#" class="left_a" id="left_updatevipinfo" onclick="vipinfo_update()">
				<span><i class="fa fa-pencil-square-o" style="padding-right: 10px;"></i> 编辑会员</span>
			</a>
		</div>
		
		<div class="left_y" id="left_y_films">
			<a href="${pageContext.request.contextPath}/houtai/films" class="left_a_first" id="left_films">
				<span class="glyphicon glyphicon-shopping-cart" aria-hidden="true"></span> 影片列表
			</a>
			<a href="${pageContext.request.contextPath}/houtai/to_addfilms" class="left_a" id="left_addfilms">
				<span class="glyphicon glyphicon-tag" aria-hidden="true"></span> 添加影片
			</a>
			<a href="#" class="left_a" id="left_updatefilms" onclick="films_update()">
				<span><i class="fa fa-pencil-square-o" style="padding-right: 10px;"></i> 编辑影片</span>
			</a>
		</div>
		
		<div class="left_y" id="left_y_looktime">
			<a href="${pageContext.request.contextPath}/houtai/looktime" class="left_a_first" id="left_looktime">
				<span class="glyphicon glyphicon-shopping-cart" aria-hidden="true"></span> 时长列表
			</a>
			<a href="${pageContext.request.contextPath}/houtai/to_addlooktime" class="left_a" id="left_addlooktime">
				<span class="glyphicon glyphicon-tag" aria-hidden="true"></span> 添加时长
			</a>
			<a href="#" class="left_a" id="left_updatelooktime" onclick="looktime_update()">
				<span><i class="fa fa-pencil-square-o" style="padding-right: 10px;"></i> 编辑时长</span>
			</a>
		</div>
		
		<script type="text/javascript">
			function userinfo_update() {
				layer.msg('请在 用户列表 中选择要编辑的用户!', {
					time: 2000
				});
			}
			function vipinfo_update() {
				layer.msg('请在 会员列表 中选择要编辑的会员!', {
					time: 2000
				});
			}
			function films_update() {
				layer.msg('请在 影片列表 中选择要编辑的影片!', {
					time: 2000
				});
			}
			function looktime_update() {
				layer.msg('请在 时长列表 中选择要编辑的时长!', {
					time: 2000
				});
			}
		</script>

	</body>
</html>
